<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 按钮样式 */
        .button {
            display: inline-block;
            padding: 10px 20px;
            font-size: 16px;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        /* Primary 按钮样式 */
        .button.primary {
            background-color: #007bff;
            color: #fff;
            border: 1px solid #007bff;
        }

        /* Default 按钮样式 */
        .button.default {
            background-color: #6c757d;
            color: #fff;
            border: 1px solid #6c757d;
        }

        /* Dashed 按钮样式 */
        .button.dashed {
            background-color: transparent;
            color: #6c757d;
            border: 1px dashed #6c757d;
        }

        /* Danger 按钮样式 */
        .button.danger {
            background-color: #dc3545;
            color: #fff;
            border: 1px solid #dc3545;
        }
    </style>
</head>
<body>
    <div class="button primary">按钮1</div>
    <div class="button default">按钮2</div>
    <div class="button dashed">按钮3</div>
    <div class="button danger">按钮4</div>
</body>
</html>